# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.1496.1.5 -> 1.1496.1.6 # include/asm-ia64/system.h 1.42 -> 1.43 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 03/12/10 davidm@tiger.hpl.hp.com 1.1496.1.6 # ia64: Switch places for the gate pages and the guard page. This improves # backwards-compatibility with older (broken) versions of GCC which # recognize a signal-handler only if it is in the address range # from 0xa000000000000100. to 0xa000000000020000. # -------------------------------------------- # diff -Nru a/include/asm-ia64/system.h b/include/asm-ia64/system.h --- a/include/asm-ia64/system.h Sun Dec 14 00:40:11 2003 +++ b/include/asm-ia64/system.h Sun Dec 14 00:40:11 2003 @@ -19,8 +19,11 @@ #include #include -/* 0xa000000000000000 - 0xa000000000000000+PERCPU_PAGE_SIZE remain unmapped */ -#define GATE_ADDR (0xa000000000000000 + PERCPU_PAGE_SIZE) +#define GATE_ADDR (0xa000000000000000) +/* + * 0xa000000000000000+2*PERCPU_PAGE_SIZE + * - 0xa000000000000000+3*PERCPU_PAGE_SIZE remain unmapped (guard page) + */ #define KERNEL_START 0xa000000100000000 #define PERCPU_ADDR (-PERCPU_PAGE_SIZE)